package com.Abstract1;

/**
 * Time    : 2023/3/19 9:33
 * Author  : 王摇摆
 * FileName: AbstractDemo2.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class AbstractDemo2 {
    public static void main(String[] args) {
        Student student = new Student();
        Teacher teacher = new Teacher();

        student.write();
        teacher.write();
    }
}
